using System.ComponentModel.DataAnnotations;
using Newtonsoft.Json;

namespace WebPrinter.Library.DaQu.Params
{
    /// <summary>
    /// 打印机编号参数基类
    /// </summary>
    public class SnParam
    {
        /// <summary>
        /// 打印机编号
        /// </summary>
        [JsonProperty("sn")]
        public string Sn { get; set; }

        public SnParam() { }

        public SnParam(string sn)
        {
            Sn = sn;
        }
    }
}